package cn.koala.key.accounts.service;


import cn.koala.key.accounts.util.AuthFunAndModule;
import cn.seed.common.core.Result;

import java.util.List;
/**
 * 权限接口
 * @description
 * @return
 * @Exception
 * @author shuai.xu
 * @time 2019/6/27 11:00
*/
public interface AuthManageService {

	/**
	 * 获取权限列表
	 * @description getAuthTreeByName
	 * @param systemCode
	 * @param userCode
	 * @return cn.seed.common.core.Result<java.lang.Object>
	 * @Exception
	 * @author shuai.xu
	 * @time 2019/6/27 10:57
	*/
	Result<Object> getAuthTreeByName(String systemCode, String userCode);

	/**
	 * 根据工号获取模块Id获取按钮权限
	 * @description getAuthBtnAuth
	 * @param inventory
	 * @param userCode
	 * @param moduleId
	 * @return cn.seed.common.core.Result<java.util.List<cn.koala.key.accounts.util.AuthFunAndModule>>
	 * @Exception      
	 * @author shuai.xu
	 * @time 2019/6/27 10:57
	*/
	Result<List<AuthFunAndModule>> getAuthBtnAuth(String inventory, String userCode, String moduleId);

}
